/**
 * Created by Administrator on 2020/10/23 0023.
 */
const btn=document.querySelectorAll('.tab_let .btn');
const content=document.querySelectorAll('.tab_right aside');

btn.forEach(function(item,index){


    item.addEventListener('click',function(){

        content.forEach(function(list){
            list.style.display='none';
        });
        btn.forEach(function(list1,index){
          //  list1.style.color='#000'
            list1.classList.remove('bactive');

        });
        content[index].style.display='block';
        item.classList.add('bactive')
        //item.style.color='red';

    })

})



































